package net.sky.oa.service.talkpark.impl;

import java.util.List;

import javax.annotation.Resource;

import net.sky.oa.dao.talkpark.TalVoteUserDao;
import net.sky.oa.model.TalVoteUser;
import net.sky.oa.service.talkpark.TalVoteUserService;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.htsoft.core.service.impl.BaseServiceImpl;

@Service
@Transactional
public class TalVoteUserServiceImpl extends BaseServiceImpl<TalVoteUser> implements TalVoteUserService {
    
	
	private TalVoteUserDao talVoteUserdao;
	
	@Resource
	public void setDao(TalVoteUserDao talVoteUserdao){
		super.setDao(talVoteUserdao);
	    this.talVoteUserdao=talVoteUserdao;	
	}
    
	@Transactional(readOnly=true)
	public List<TalVoteUser> findAllVoteUser() {
		
		return this.talVoteUserdao.findAllVoteUser();
	}

	public List<TalVoteUser> findByHql(String paramString) {
		// TODO Auto-generated method stub
		return null;
	}
	
}
